import HomePage from '../views/home.vue';
import Setting from '../views/settings/index.vue';
import Events from '../views/events.vue';
import Historys from '../views/fabs/historys.vue';
import StreetView from '../views/fabs/streetview.vue';
import Geofence from '../views/settings/geofence.vue';
import DeviceInfo from '../views/fabs/device-info.vue';
import AddDevice from '../views/menu/add-device.vue';
import SwitchMap from '../views/settings/switch-map.vue';
import FeedBack from '../views/settings/feedback.vue';
import Alarm from '../views/settings/alarm.vue';
import Language from '../views/settings/language.vue';
import About from '../views/settings/about.vue';
import Help from '../views/settings/help.vue';
import Register from '../views/register.vue';
import CommandView from '../views/fabs/commandview.vue';
import DynamicRoutePage from '../views/dynamic-route.vue';
import NotFoundPage from '../views/not-found.vue';
import Agreement from '../views/agreement.vue';
import UpdatePass from '../views/settings/password.vue';


import Menu from '../views/menu/index.vue';

export default [
  {
    path: '/',
    component: HomePage,
  },
  {
    path: '/updatepass/',
    component: UpdatePass,
  },
  {
    path: '/setting/',
    component: Setting,
  },
  {
    path: '/switch-map/',
    component: SwitchMap,
  },
  {
    path: '/feedback/',
    component: FeedBack,
  },
  {
    path: '/alarm/',
    component: Alarm,
  },
  {
    path: '/language/',
    component: Language,
  },
  {
    path: '/about/',
    component: About,
  },
  {
    path: '/help/',
    component: Help,
  },
  {
    path: '/register/',
    component: Register,
  },
  {
    path: '/events/',
    component: Events,
  },
  {
    path: '/menu/',
    component: Menu,
  },
  {
    path: '/historys/',
    component: Historys,
  },
  {
    path: '/streetview/',
    component: StreetView,
  },
  {
    path: '/geofence/',
    component: Geofence,
  },
  {
    path: '/device-info/',
    component: DeviceInfo,
  },
  {
    path: '/add-device/',
    component: AddDevice,
  },
  {
    path: '/commandview/',
    component: CommandView,
  },
  {
    path: '/agreement/',
    component: Agreement,
  },
  {
    path: '/dynamic-route/blog/:blogId/post/:postId/',
    component: DynamicRoutePage,
  },
  {
    path: '(.*)',
    component: NotFoundPage,
  },
];
